#pragma once
#include <iostream>
#include <assert.h>
#include <string>
using namespace std;


typedef struct book {
	char* name;
	float price;
	long id;
};

typedef struct LNode {
	book data;
	struct LNode* next;
}LNode;

void printMenu();
void equal(LNode* Node, book& book);
LNode* creatList();
void InsertNodeByhead(LNode* headNode, book& data);
void InsertNodeBytail(LNode* head, book data);
//void searchBookByname(LNode* headNode, book& name);
void printList(LNode* head);